package com.blackline.UI.ACCOUNTS;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * @author XBO
 * @version Feb, 2013
 * <p>This page is after clicking "Add Comment" link in Add Item page with a Preparer role.
 * Please refer to UI.CommentDetails.png in doc-files.<br>
 */
public class CommentDetails {
	/**
	 * Account ID text at the top of the page
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_AccountListInfo_lblAccountID")
	public WebElement Account_ID_text;
	
	/**
	 * Comment iframe. If you want to input texts into Comment text box, you need to switch into this iframe; later you may need to switch back to defaultContent().
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_commentDetail_bleCommentDesc_contentIframe")
	public WebElement Comment_iframe;
	
	/**
	 * Comment text box
	 */
	@FindBy (xpath = "//body")
	public WebElement Comment_textBox;
	
	/**
	 * Save button
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_btnSave")
	public WebElement Save_button;
	
	/**
	 * Cancel button
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_btnCancel")
	public WebElement Cancel_button;
	
	
	
}
